<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <title></title>
</head>
<body>


<shiro:hasPermission name="role:create">
    <a href="${pageContext.request.contextPath}/role/create">角色新增</a><br/>
</shiro:hasPermission>


<shiro:hasPermission name="role:view">
    <a href="${pageContext.request.contextPath}/role/create">角色显示</a><br/>
</shiro:hasPermission>


<shiro:hasPermission name="role:update">
    <a href="${pageContext.request.contextPath}/role/create">角色修改</a><br/>
</shiro:hasPermission>

<shiro:hasRole name="admin">hello admin</shiro:hasRole>

</body>
</html>